const connect = require('connect');
const serveStatic = require('serve-static');
const serveIndex = require('serve-index');
const path = require('path');

const root = path.join(__dirname, 'public');

const app = connect().use(serveIndex(root)).use(serveStatic(root));

app.listen(3000);
